/// <summary>
        /// get all presentDays group by user
        /// </summary>
        /// <returns>list presentDays group by user</returns>

        public HttpResponseMessage getAllPressentGroupByUserAndProject()
        {
            return(new HttpResponseMessage(HttpStatusCode.OK)
            {
                Content = new ObjectContent <List <PresentDay> >(LogicPresentDay.GetAllPresents(), new JsonMediaTypeFormatter())
            });
        }
Example #2
0
 public HttpResponseMessage getAllPressentGroupByUserAndProject()
 {
     return(Request.CreateResponse(HttpStatusCode.OK, LogicPresentDay.GetAllPresents()));
 }