public void RejectApplication(Applications entity) { _applicationsRepository.Update(entity); }
// ===== not used ==== 02102018====== //public void RejectApplication1(int appid, DateTime rejectdate, byte rejectstatus) //{ // Applications entity = getApplicationById(appid); // entity.RejectDate = rejectdate; // entity.ApplicationStatus = rejectstatus; // _applicationsRepository.Update(entity); //} public void ApproveApplication(Applications Entity) { _applicationsRepository.Update(Entity); }
public void update(Applications entity) { _applicationsRepository.Update(entity); }