Home > Software engineering >  comparing months in words with date in digitd to get data
comparing months in words with date in digitd to get data

Time:09-27

    [HttpGet]
    public HttpResponseMessage Date(String date)
    {
        try
        {
            var users = db.Complains.Where(u => u.Date ==date ).ToList();
            return Request.CreateResponse(HttpStatusCode.OK, users);
        }
        catch (Exception ex)
        {
            return Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message);
        }
    }

enter image description here

  • Related