public int Edit([FromBody] AllocatedBatchTeacher AllocateBatchTeacher) { return(_unitOfWork.AllocatedBatchTeacher.UpdateAllocatedBatchTeacher(AllocateBatchTeacher)); }
public int Create([FromBody] AllocatedBatchTeacher AllocateBatchTeacher) { return(_unitOfWork.AllocatedBatchTeacher.AddAllocatedBatchTeacher(AllocateBatchTeacher)); }