No one will do your work here. Everyone will assist you .
For your problem make a method which will return a file( filestream/fileresult(mvc) ). and inside that method use excelpackage class (Third party dll) and do your work.
for further
see this[
]
this also[
]