Ignore:
Timestamp:
02/08/21 16:39:25 (3 years ago)
Author:
Dimitar Slezenkovski <dslezenkovski@…>
Branches:
master
Children:
8eb1e21, dae4cde
Parents:
0a694bb
Message:

Fix all bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Controllers/AdminController.cs

    r0a694bb re0cdea2  
    6161        [HttpPost]
    6262        [Route("api/pharmacyhead/requests/{Id}")]
    63         public IActionResult RejectRequest([FromRoute] int Id)
     63        public IActionResult RejectRequest([FromBody] RequestPharmacyHead req)
    6464        {
    65             bool Success = _adminService.RejectRequest(Id);
     65            bool Success = _adminService.RejectRequest(req);
    6666            return Ok(Success);
    6767        }
Note: See TracChangeset for help on using the changeset viewer.