Driven by the advantages of Mobile Edge Computing (MEC) and Information-Centric Networking (ICN) in nextgeneration networks we propose an architecture for MEC using Named Data Networking (NDN). NDN is one of the prominent architectures of ICN having features like unique-naming, in-network caching, inherit support for multicasting, and support for mobility. Placing MEC in NDN provides the additional facilities of edge computing like pushing of resource-hungry and time-critical applications of the mobile devices to the edge-computing server. Therefore, one of the research challenges is the decision regarding the task offloading process by the end-users to the edge-computing server. We propose a mathematical model that enables the end-user to take decisions in Yes/No regarding the binary task offloading process