public IActionResult GetSalesDailyReportLastThreeMonths([FromQuery] int?branchId) { // Set the filter to "LastThreeMonths" var filter = new SalesDailyReportFilterDto(); filter.SetLastThreeMonths(); filter.BranchId = branchId; // Return to response var listToReturn = GetSalesDailyReport(filter); return(Ok(listToReturn)); }