Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public FileContentResult ExportDate(int type, string date1 = "2020-03-01T11:11", string date2 = "2020-12-01T11:11") { //TODO : edit var dateAppointments = _service.Get(DateTime.Parse(date1), DateTime.Parse(date2)); Document document = _service.ExportDate(dateAppointments, type); return(File(document.FileContent, document.FileType, document.DownloadName)); }