示例#1
0
        public IHttpActionResult ConsultasPeriodoFuncionario(string cpf, string dateFrom, string dateTo)
        {
            var retorno = _agendaService.ConsultasPeriodoFuncionario(cpf, dateFrom, dateTo);

            if (!retorno.Status)
            {
                return(new InvalidListMessageResult(retorno.Message));
            }

            return(Ok(retorno));
        }